package com.maddox.mworld.ui.tabscroll;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

public class Plant implements MultiItemEntity {
    public static final int TYPE_TEXT = 1;//文本简述
    public static final int TYPE_NUTRI = 2;//营养

    public int type;  //简介类型
    //各项简介
    public String typeName; //功能名称
    public String summary;//概述
    public int unitPer;//单位
    public List<Nutrition> nutritionList; //营养元素内容,当type为2时
    @Override
    public int getItemType() {
        return type;
    }
}
